﻿using System;

class DivideBy5AndBy7WithoutReminder
{
    static void Main()
    {
        int number;
        bool isNumber;

        Console.WriteLine("Type number to check if it`s divided by 7 and by 5 without reminder:");
        isNumber = int.TryParse(Console.ReadLine(), out number);

        if (isNumber)
        {
            if ((number % 5 == 0) && (number % 7 == 0))
            {
                Console.WriteLine("Your number is divided by 7 and by 5 without reminder!");
                bool result = true;
            }
            else
            {
                Console.WriteLine("Your number is divided by 7 and by 5 with reminder!");
                bool result = false;
            }
        }
        else
        {
            Console.WriteLine("Your input isn`t a number!!!");
        }

    }
}